<?php

class ReceptionRoom extends \MUD\Room{
    
    /*
     * @Override
     */
    function addItem($item){
        $this->R->logger->clog("Updating player score [OVERRIDE]");
        //update players score
        if($item->value > 0){
            $this->R->client->updateScore($item->value);
        }
        //remove item from world
        $item->updateLocation(0, 'bigBlackHole');
        //remove item from here
        $this->items=array();
        return true; //return true incase anyone is watching this function
    }
}